// SmartDC.h: interface for the CSmartDC class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SmartDC_H__B3A84A95_B36C_4025_AE4A_9A8DDD8AF1FF__INCLUDED_)
#define AFX_SmartDC_H__B3A84A95_B36C_4025_AE4A_9A8DDD8AF1FF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CSmartDC : public CDC  
{
public:
	CSmartDC(CDC *pDC, CSize cSize);
	virtual ~CSmartDC();

  void Clear(COLORREF clr);

	CDC		*pSrcDC;
	CSize  dcSize;
	CBitmap memBitmap;
	CBitmap *pOldBmp;
};

#endif // !defined(AFX_SmartDC_H__B3A84A95_B36C_4025_AE4A_9A8DDD8AF1FF__INCLUDED_)
